﻿//------------------------------------------------------------
// All Rights Reserved , Copyright (C) 2010 , Jirisoft , Ltd. 
//------------------------------------------------------------

using System;

namespace DotNet.Model
{
    /// <summary>
    /// BaseWorkReportTable
    /// 
    /// 修改记录
    /// 
    ///     2008.05.16 版本:1.0 吉日嘎拉 字段Project改为 ProjectFullName, 添加一个字段 StaffFullName
    ///     2008.05.15 版本:1.0 吉日嘎拉 添加项目主键和工作日志分类主键两个数据字段,修改字段(Item改为Project)
    ///     2008.05.08 版本:1.0 吉日嘎拉 添加部门主键和公司主键两个数据字段
    ///     2008.05.04 版本:1.0 吉日嘎拉 主键的创建
    ///
    /// 版本1.1
    /// 
    /// <author>
    ///     <name>吉日嘎拉</name>
    ///     <date>2008.05.04</date>
    /// </author>
    /// </summary>
    public class BaseWorkReportTable
    {
        public static string TableName                 = "Base_WorkReport";    // 表名
        public static string FieldId                   = "Id";                 // 主键
        public static string FieldCompanyId            = "CompanyId";          // 公司主键
        public static string FieldDepartmentId         = "DepartmentId";       // 部门主键
        public static string FieldStaffId              = "StaffId";            // 职员主键
        public static string FieldStaffFullName        = "StaffFullName";      // 职员姓名
        public static string FieldCategoryId           = "CategoryId";         // 工作日志分类主键
        public static string FieldCategoryFullName     = "CategoryFullName";   // 工作日志分类
        public static string FieldProjectId            = "ProjectId";          // 项目主键
        public static string FieldProjectFullName      = "ProjectFullName";    // 项目
        public static string FieldWorkDate             = "WorkDate";           // 工作日志的日期
        public static string FieldContent              = "Content";            // 工作日志内容
        public static string FieldManHour              = "ManHour";            // 工时
        public static string FieldScore                = "Score";              // 评分
        public static string FieldDescription          = "Description";        // 备注
        public static string FieldStateCode            = "StateCode";          // 审核状态
        public static string FieldEnabled              = "Enabled";            // 有效
        public static string FieldAuditStaffId         = "AuditStaffId";       // 审核者主键
        public static string FieldSortCode             = "SortCode";           // 排序
        public static string FieldCreateUserId         = "CreateUserId";       // 创建者主键
        public static string FieldCreateDate           = "CreateDate";         // 创建日期
        public static string FieldModifyUserId         = "ModifyUserId";       // 修改者主键
        public static string FieldModifyDate           = "ModifyDate";         // 修改日期
    }
}
